package com.jye.cloud.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Group implements Serializable{
    private Integer id;
    private String title;
    private String content;
    private String type;
    private String status;
    private Integer limitTime;
    private Date createTime;
    private Integer uId;
    private Integer cId; //所属班级
    @Transient
    private User user;
    @Transient
    private Integer total;
    @Transient
    private List<Subject> subjectList;
}
